home *** CD-ROM | disk | FTP | other *** search
- global gPostitSprite, gPlayers, gPostitMode
-
- on mouseUp
- RestoreSpriteCursors()
- ReactivateSprites()
- if the clickOn = (gPostitSprite + 3) then
- if gPostitMode = #delete then
- repeat with l in gPlayers
- if getAt(l, 1) = the text of cast "NameField" then
- deleteOne(gPlayers, l)
- set the text of field "NameField" to EMPTY
- RedrawNameList(1)
- set the visible of sprite 5 to 0
- SpriteCursor(5, 0)
- exit repeat
- end if
- end repeat
- else
- put "exit"
- exitProgram()
- quit()
- end if
- else
- end if
- if the castNum of sprite 36 = the number of member "WettVideo" then
- KickBetVideo()
- repeat with i = 3 to 6
- set the visible of sprite i to (36 + i) = the clickOn
- end repeat
- end if
- continue()
- end
-